package com.chevip.article.sync.entity.second;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Entity
@Table(name = "EXPORT_TABLE")
public class OldArticle {
    @Id
    @Column(name = "ARTICLEID")
    private Long articleId;
    @Column(name = "ARTICLENAME")
    private String articleName;
    @Column(name = "COLUMNID")
    private String columnId;
    @Column(name = "ARTICLETYPE")
    private String articleType;
    @Column(name = "AUTHOR")
    private String author;
    @Column(name = "PUBLICDATE")
    private Date publicDate;
    @Column(name = "READCOUNT")
    private Integer readCount;
    @Column(name = "FILEPATH")
    private String filePath;
    @Column(name = "ARTICLESTATE")
    private String articleState;
    @Column(name = "REMARK")
    private String remark;
    @Column(name = "ORDERNO")
    private Integer orderNo;
    @Column(name = "ISENABLED")
    private String isEnabled;
    @Column(name = "ISSYSTEM")
    private String isSystem;
    @Column(name = "CREATOR")
    private String creator;
    @Column(name = "CREATETIME")
    private Date createTime;
    @Column(name = "MODIFIER")
    private String modifier;
    @Column(name = "MODIFYTIME")
    private Date modifyTime;
    @Column(name = "ORGID")
    private Long orgId;
    @Column(name = "REFERENCETYPE")
    private String referenceType;
    @Column(name = "TOP")
    private String top;
    @Column(name = "SOURCE")
    private String source;
    @Column(name = "PICPATH")
    private String picPath;
    @Column(name = "MILEAGE")
    private String mileage;
    @Column(name = "GETLICENCEDATE")
    private Date getLicenceDate;
    @Column(name = "BODYCOLORID")
    private Long bodyColorId;
    @Column(name = "PRICE")
    private String price;
    @Column(name = "PGEMP")
    private String pgemp;
}
